//package com.wxl52d41.rocketmq;
//
//import org.apache.rocketmq.spring.annotation.ConsumeMode;
//import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
//import org.apache.rocketmq.spring.core.RocketMQListener;
//import org.springframework.stereotype.Component;
//
//@RocketMQMessageListener(topic = "java1234-rocketmq-orderly",
//        consumerGroup = "${rocketmq.consumer.group}", consumeMode = ConsumeMode.ORDERLY)
//@Component
//public class ConsumerService implements RocketMQListener<String> {
//    @Override
//    public void onMessage(String s) {
//        System.out.println("消费者：收到消息内容：" + s);
//    }
//}
